package com.touchalachs.game;

public class Balancing {

	public static final float SCORE_PER_FISH_CLICK = 1;

	private static final float[] INCOME = new float[]{0.1f, 0.8f, 5f, 25f};
	
	
	public static int getCost(int workerIndex, int alreadyOwned) {
		float firstIncome = getIncome(workerIndex);
		float firstBuildingPrice = firstIncome * 150;
		return (int)(firstBuildingPrice * Math.pow(1.15, alreadyOwned));
//		return (int) Math.pow(100 * firstIncome, (alreadyOwned+1) * 0.3);
//		return (int) (firstIncome*100*Math.pow(1.066, alreadyOwned));
	}

	public static float getIncome(int workerIndex) {
		return INCOME[workerIndex];
	}

}
